home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / lisp / kcl / akcl / akcl1615.lha / h / sun386i.defs < prev    next >
Text File  |  1989-03-20  |  1KB  |  44 lines

  1. LBINDIR=/usr/local/bin
  2. OFLAG    = -g
  3. LIBS    = -lm -lg 
  4.  
  5. # for sun386i:
  6. CHTAB = mp386_chtab.s
  7.  
  8. # -I$(AKCLDIR)/o is so that the cc command will be able to find a
  9. # cmpinclude.h even if it is not in /usr/include.  We do not use the
  10. # h directory since there are so many .h files there, one of their
  11. # names might conflict with a users name, eg if he has a file vs.lisp
  12.  
  13. #note: -Bstatic will have to be added to the 'ld' command in unixport/makefile
  14. #note: maybe '-fomit-frame-pointer' should be added for even more speed??  
  15. CC=gcc -O -g -DVOL=volatile -finline-functions -fkeep-inline-functions \
  16.     -fstrength-reduce -I$(AKCLDIR)/o
  17. # if you have use the Sun C compiler, this will work, but i have not tried -O:
  18. # CC=/usr/5bin/cc -DVOL= -I$(AKCLDIR)/o -Bstatic -temp=.
  19.  
  20.  
  21. # gcc 1.34 version:
  22. ODIR_DEBUG= -O  -finline-functions -fkeep-inline-functions -fstrength-reduce
  23.  
  24. # if  using the Sun C compiler, this works:  (-O may work, i havent tried)
  25. # ODIR_DEBUG= -g
  26.  
  27.  
  28. MAINDIR = /usr/local/src/lisp/kcl
  29. CFLAGS    = -c $(DEFS)  -I../h
  30.  
  31. MAIN    = ../o/main.o
  32.  
  33. RSYM    = rsym
  34. SFASL    = $(ODIR)/sfasl.o
  35.  
  36. # This function will be run before dumping.
  37. # When using SFASL it is good to have (si::build-symbol-table)
  38. #MON  INITFORM=(si::build-symbol-table)
  39.  
  40. INITFORM=(si::build-symbol-table)(load "../lsp/setdoc.lsp")
  41.  
  42. # Use symbolic links
  43. SYMB=-s
  44.